微軟官網有一份 Install OpenSSH文件,完整描述如何在 Windows 10 / Windows Server 2019 / Windows Server 2022 安裝內建的 OpenSSH 用戶端與伺服器端的軟體,但是 Windows 內建的 OpenSSH 通常不是最新版本,容易存在一些 Bugs 與缺少一些好用設定。 以下是透過 PowerShell 快速安裝的方法: 1. 先確認目前的作業系統有包含 OpenSSH 相關功能Get-WindowsCapability -Online
Download the latest build of OpenSSH. 使用官方PowerShell指令。 參考:https://hackmd.io/@j4Pedro/H1SyMrI6t. 選以下紅框內容進行安裝,還是裝不起來,而「OpenSSH 客戶端」沒問題。 成功版本:https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH Download the latest buil...